
export const tableOption = {
  border: true,
  stripe: true,
  menuAlign: 'center',
  editBtn: false,
  delBtn: false,
  align: 'center',
  addBtn: false,
  editTitle: '判定',
  column: [{
    label: '创建时间',
    prop: 'create_time',
    editDisplay: false,
    span: 24,
    rules: [{
      required: true,
      message: '请输入'
    }]
  },{
    label: '申诉订单',
    prop: 'order_no',
    editDisplay: false,
    search: true,
    slot: true,
    span: 24
  }, {
    label: '申诉人',
    prop: 'a_name',
    slot: true,
    editDisplay: false,
    span: 24,
  },  {
    label: '被申诉人',
    slot: true,
    prop: 'b_name',
    editDisplay: false,
    span: 24,
  }, {
    label: '图片',
    prop: 'pics',
    type: 'upload',
    editDisplay: false,
    listType: 'picture-card',
    span: 24,
    oss: 'qiniu',
    propsHttp: {
      name: 'name',
      url: "key"
    }
  }, 
   {
    label: '申诉内容',
    editDisplay: false,
    overHidden: true,
    span: 24,
    prop: 'content_from'
  },
  {
    label: '回复内容',
    editDisplay: false,
    overHidden: true,
    span: 24,
    prop: 'content_back'
  },
  {
    label: '胜诉方',
    prop: 'win',
    hide: true,
    type: "radio",
    span: 24,
    dicData: [{
      label: '买家',
      value: 1
    }, {
      label: '卖家',
      value: 2
    }]
  }]
}



export const domainOption = {
  border: true,
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  searchMenuSpan: 6,
  viewBtn: false,
  addBtn: false,
  emptyBtn: false,
  submitBtn: false,
  column: [{
    label: '域名',
    detail: true,
    prop: 'domain',
  },{
    label: '售价',
    detail: true,
    prop: 'price',
  }, {
    label: '回购价',
    detail: true,
    prop: 'price_back'
  }, {
    label: '实收金额',
    detail: true,
    hide: true,
    prop: 'price_real'
  },{
    label: '管理费',
    detail: true,
    hide: true,
    prop: 'price_manage'
  },{
    label: '回购周期',
    type:'number',
    detail: true,
    rules: [{
      required: true,
      message: "请输入"
    }],
    prop: 'days'
  },
   {
    label: '域名证书',
    prop: 'pics',
    span: 24,
    detail: true,
    addDisplay: false,
    type: 'upload',
    dataType: 'string',
    listType: 'picture-card',
    oss: 'qiniu',
    propsHttp: {
      name: 'hash',
      url: "key"
    },
    rules: [{
      required: true,
      message: '请上传'
    }]
  },{
    label: '是否隐藏',
    detail: true,
    hide: true,
    prop: 'hide',
    type: "radio",
    dicData: [{
      label: '否',
      value: 0
    }, {
      label: '是',
      value: 1
    }],
  },{
    label: '定向',
    detail: true,
    hide: true,
    prop: 'target'
  },{
    label: '交易描述',
    detail: true,
    hide: true,
    span: 24,
    prop: 'des',
  },]
}